package com.mc.lp.shared.vo.user;

import com.mc.lp.shared.vo.IValueObject;
/**
 * 
 * @author deepak
 *
 */
public class MarksVO implements IValueObject{
	
	private static final long serialVersionUID = 1L;

	private Long marks;
	private String term;
	private Long maxMarks;
	private Long subjectId;
	
	public MarksVO(Long marks, String term){
		this.term=term;
		this.marks=marks;
	}
	public MarksVO(Long marks, String term, Long maxMarks) {
		super();
		this.marks = marks;
		this.term = term;
		this.maxMarks = maxMarks;
	}
	
	public MarksVO(Long marks, String term, Long maxMarks ,Long subjectId) {
		super();
		this.marks = marks;
		this.term = term;
		this.maxMarks = maxMarks;
		this.subjectId = subjectId;	
	}
	
	public Long getMarks() {
		return marks;
	}
	public void setMarks(Long marks) {
		this.marks = marks;
	}
	public String getTerm() {
		return term;
	}
	public void setTerm(String term) {
		this.term = term;
	}
	
	public Long getMaxMarks() {
		return maxMarks;
	}
	public void setMaxMarks(Long maxMarks) {
		this.maxMarks = maxMarks;
	}
	
	
	public Long getSubjectId() {
		return subjectId;
	}
	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}
	@Override
	public String toString() {
		return "MarksVO [" + (marks != null ? "marks=" + marks + ", " : "")
				+ (term != null ? "term=" + term + ", " : "")
				+ (maxMarks != null ? "maxMarks=" + maxMarks + ", " : "")
				+ (subjectId != null ? "subjectId=" + subjectId : "") + "]";
	}
	
	
}